package com.campus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.campus.pojos.domain.ClientUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.HashMap;

@Mapper
public interface UserMapper extends BaseMapper<ClientUser> {


    @Select("select * from client_user where user_name = #{userName}")
    public ClientUser getById(String  userName);

    Integer sumByMap(HashMap map);
}
